/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.treepoke.util.dto;

import com.treepoke.util.base.TPBaseDTO;
import java.io.File;

public class MailDTO extends TPBaseDTO {

    private String from;
    private String to;
    private String cc;
    private String bcc;
    private String subject;
    private String content;
    private File[] attach = new File[]{};

    public MailDTO() {
    }

    /**
     * 
     * @param from
     * @param to
     * @param subject
     * @param content
     * @service
     */
    public MailDTO(String from, String to, String subject, String content) {
        this.from = from;
        this.to = to;
        this.subject = subject;
        this.content = content;
    }

    public File[] getAttach() {
        return attach;
    }

    public void setAttach(File[] attach) {
        this.attach = attach;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getFrom() {
        return from;
    }

    public void setFrom(String from) {
        this.from = from;
    }

    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }

    public String getTo() {
        return to;
    }

    public void setTo(String to) {
        this.to = to;
    }

    public String getBcc() {
        return bcc;
    }

    public void setBcc(String bcc) {
        this.bcc = bcc;
    }

    public String getCc() {
        return cc;
    }

    public void setCc(String cc) {
        this.cc = cc;
    }
    
}
